<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Awesome-pyecharts</title>
                <script type="text/javascript" src="https://assets.pyecharts.org/assets/v5/echarts.min.js"></script>
            <script type="text/javascript" src="https://assets.pyecharts.org/assets/v5/themes/westeros.js"></script>

</head>
<body >
    <div id="cac0c4e8a1ce4f14912f115b5f310bc3" class="chart-container" style="width:450px; height:360px; "></div>
    <script>
        var chart_cac0c4e8a1ce4f14912f115b5f310bc3 = echarts.init(
            document.getElementById('cac0c4e8a1ce4f14912f115b5f310bc3'), 'west', {renderer: 'canvas'});
        var option_cac0c4e8a1ce4f14912f115b5f310bc3 = {
    "animation": true,
    "animationThreshold": 2000,
    "animationDuration": 1000,
    "animationEasing": "cubicOut",
    "animationDelay": 0,
    "animationDurationUpdate": 300,
    "animationEasingUpdate": "cubicOut",
    "animationDelayUpdate": 0,
    "aria": {
        "enabled": false
    },
    "series": [
        {
            "type": "funnel",
            "name": "\u9636\u6bb5\u8f6c\u5316\u7387",
            "data": [
                {
                    "name": "10-19",
                    "value": 301
                },
                {
                    "name": "20-29",
                    "value": 403
                },
                {
                    "name": "30-39",
                    "value": 429
                },
                {
                    "name": "40-49",
                    "value": 444
                },
                {
                    "name": "50-59",
                    "value": 410
                },
                {
                    "name": "60\u53ca\u4ee5\u4e0a",
                    "value": 1012
                }
            ],
            "min": 0,
            "max": 100,
            "minSize": "0%",
            "maxSize": "100%",
            "orient": "vertical",
            "sort": "descending",
            "gap": 20,
            "legendHoverLink": true,
            "funnelAlign": "center",
            "label": {
                "show": true,
                "margin": 8
            },
            "selectedMode": false,
            "zlevel": 0,
            "z": 2,
            "rippleEffect": {
                "show": true,
                "brushType": "stroke",
                "scale": 2.5,
                "period": 4
            }
        }
    ],
    "legend": [
        {
            "data": [
                "40-49",
                "50-59",
                "20-29",
                "30-39",
                "10-19",
                "60\u53ca\u4ee5\u4e0a"
            ],
            "selected": {},
            "show": true,
            "padding": 5,
            "itemGap": 10,
            "itemWidth": 25,
            "itemHeight": 14,
            "backgroundColor": "transparent",
            "borderColor": "#ccc",
            "borderRadius": 0,
            "pageButtonItemGap": 5,
            "pageButtonPosition": "end",
            "pageFormatter": "{current}/{total}",
            "pageIconColor": "#2f4554",
            "pageIconInactiveColor": "#aaa",
            "pageIconSize": 15,
            "animationDurationUpdate": 800,
            "selector": false,
            "selectorPosition": "auto",
            "selectorItemGap": 7,
            "selectorButtonGap": 10
        }
    ],
    "tooltip": {
        "show": true,
        "trigger": "item",
        "triggerOn": "mousemove|click",
        "axisPointer": {
            "type": "line"
        },
        "showContent": true,
        "alwaysShowContent": false,
        "showDelay": 0,
        "hideDelay": 100,
        "enterable": false,
        "confine": false,
        "appendToBody": false,
        "transitionDuration": 0.4,
        "textStyle": {
            "fontSize": 14
        },
        "borderWidth": 0,
        "padding": 5,
        "order": "seriesAsc"
    },
    "title": [
        {
            "show": true,
            "text": "\u5e74\u9f84\u6bb5\u68af\u5f62\u56fe",
            "target": "blank",
            "subtarget": "blank",
            "padding": 5,
            "itemGap": 10,
            "textAlign": "auto",
            "textVerticalAlign": "auto",
            "triggerEvent": false
        }
    ]
};
        chart_cac0c4e8a1ce4f14912f115b5f310bc3.setOption(option_cac0c4e8a1ce4f14912f115b5f310bc3);
    </script>
</body>
</html>
